-- GENERATED SPELL FOR [Ragged Owlbeast] --


function spell0_7450(pUnit, Event) --@Festering Rash,n/a--
pUnit:FullCastSpellOnTarget(15848,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7450', 586, 1)
end

function Sorts_7450(pUnit, Event)
local choix_sorts_7450 = math.random(0, 0)
if choix_sorts_7450 == 0 then
pUnit:RegisterEvent('spell0_7450', 1, 1)
end
end

function mob7450_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7450', math.random(1500, 3000), 1)
end

function mob7450_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7450_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7450_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7450, 1, 'mob7450_Action')
RegisterUnitEvent(7450, 2, 'mob7450_Leave')
RegisterUnitEvent(7450, 3, 'mob7450_Kill')
RegisterUnitEvent(7450, 4, 'mob7450_Die')
